*,
*:after,
*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.bt-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 0;
	border-width: 0px;
	border-style: solid;
	border-color: rgba(48,48,48,0.9);
	background-color: rgba(0,0,0,0);
	-webkit-backface-visibility: hidden;
	-webkit-transition: border-width 0.3s, background-color 0.3s, height 0s 0.3s;
	transition: border-width 0.3s, background-color 0.3s, height 0s 0.3s;
}

.bt-menu.bt-menu-open {
	height: 100%;
	border-width: 60px 60px 60px 60px;
	background-color: rgba(0,0,0,0.3);
	-webkit-transition: border-width 0.3s, background-color 0.3s;
	transition: border-width 0.3s, background-color 0.3s;
}

.bt-overlay {
	position: absolute;
	width: 100%;
}

.bt-menu-open .bt-overlay {
	height: 100%;
}

.bt-menu-trigger {
	position: fixed;
	right: 15px;
	bottom: 15px;
	z-index: 100;
	display: block;
	width: 40px;
	height: 40px;
	cursor: pointer;
}

.bt-menu-trigger span {
	position: absolute;
	top: 50%;
	left: 0;
	display: block;
	width: 100%;
	height: 4px;
	background-color: #000;
	font-size: 0px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: background-color 0.3s;
	transition: background-color 0.3s;
}

.bt-menu-open .bt-menu-trigger span {
	background-color: transparent;
}

.bt-menu-trigger span:before,
.bt-menu-trigger span:after {
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	content: '';
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
}

.bt-menu-open .bt-menu-trigger span:before,
.bt-menu-open .bt-menu-trigger span:after {
    background: #fff;
}

.bt-menu-trigger span:before {
	-webkit-transform: translateY(-250%);
	transform: translateY(-250%);
}

.bt-menu-trigger span:after {
	-webkit-transform: translateY(250%);
	transform: translateY(250%);
}

.bt-menu-open .bt-menu-trigger span:before {
	-webkit-transform: translateY(0) rotate(45deg);
	transform: translateY(0) rotate(45deg);
}

.bt-menu-open .bt-menu-trigger span:after {
	-webkit-transform: translateY(0) rotate(-45deg);
	transform: translateY(0) rotate(-45deg);
}

.bt-menu ul {
	position: fixed;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bt-menu ul:first-of-type {
	right: 0;
	bottom: 60px;
}

.bt-menu ul:nth-of-type(2) {
	right: 60px;
	bottom: 0px;
}

.bt-menu ul:first-of-type li,
.bt-menu ul li a {
	display: block;
}

.bt-menu ul:nth-of-type(2) li {
	display: inline-block;
	font-size: 0px;
}

.bt-menu ul li {
	visibility: hidden;
	width: 60px;
	height: 60px;
	line-height: 60px;
	opacity: 0;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.2s, visibility 0s 0.3s;
	transition: transform 0.3s, opacity 0.2s, visibility 0s 0.3s;
}

/* First menu */
.bt-menu ul:first-of-type li:nth-last-child(10) {
	-webkit-transform: translate3d(0,1000%,0);
	transform: translate3d(0,1000%,0);
}
.bt-menu ul:first-of-type li:nth-last-child(9) {
    -webkit-transform: translate3d(0,900%,0);
    transform: translate3d(0,900%,0);
}
.bt-menu ul:first-of-type li:nth-last-child(8) {
    -webkit-transform: translate3d(0,800%,0);
    transform: translate3d(0,800%,0);
}
.bt-menu ul:first-of-type li:nth-last-child(7) {
    -webkit-transform: translate3d(0,700%,0);
    transform: translate3d(0,700%,0);
}
.bt-menu ul:first-of-type li:nth-last-child(6) {
    -webkit-transform: translate3d(0,600%,0);
    transform: translate3d(0,600%,0);
}
.bt-menu ul:first-of-type li:nth-last-child(5) {
    -webkit-transform: translate3d(0,500%,0);
    transform: translate3d(0,500%,0);
}
.bt-menu ul:first-of-type li:nth-last-child(4) {
    -webkit-transform: translate3d(0,400%,0);
    transform: translate3d(0,400%,0);
}
.bt-menu ul:first-of-type li:nth-last-child(3) {
    -webkit-transform: translate3d(0,300%,0);
    transform: translate3d(0,300%,0);
}
.bt-menu ul:first-of-type li:nth-last-child(2) {
    -webkit-transform: translate3d(0,200%,0);
    transform: translate3d(0,200%,0);
}
.bt-menu ul:first-of-type li:last-child {
    -webkit-transform: translate3d(0,100%,0);
    transform: translate3d(0,100%,0);
}


/* Second menu */
.bt-menu ul:nth-of-type(2) li:nth-last-child(10) {
    -webkit-transform: translate3d(1000%,0,0);
    transform: translate3d(1000%,0,0);
}
.bt-menu ul:nth-of-type(2) li:nth-last-child(9) {
    -webkit-transform: translate3d(900%,0,0);
    transform: translate3d(900%,0,0);
}
.bt-menu ul:nth-of-type(2) li:nth-last-child(8) {
    -webkit-transform: translate3d(800%,0,0);
    transform: translate3d(800%,0,0);
}
.bt-menu ul:nth-of-type(2) li:nth-last-child(7) {
    -webkit-transform: translate3d(700%,0,0);
    transform: translate3d(700%,0,0);
}
.bt-menu ul:nth-of-type(2) li:nth-last-child(6) {
    -webkit-transform: translate3d(600%,0,0);
    transform: translate3d(600%,0,0);
}
.bt-menu ul:nth-of-type(2) li:nth-last-child(5) {
    -webkit-transform: translate3d(500%,0,0);
    transform: translate3d(500%,0,0);
}
.bt-menu ul:nth-of-type(2) li:nth-last-child(4) {
    -webkit-transform: translate3d(400%,0,0);
    transform: translate3d(400%,0,0);
}
.bt-menu ul:nth-of-type(2) li:nth-last-child(3) {
    -webkit-transform: translate3d(300%,0,0);
    transform: translate3d(300%,0,0);
}
.bt-menu ul:nth-of-type(2) li:nth-last-child(2) {
	-webkit-transform: translate3d(200%,0,0);
	transform: translate3d(200%,0,0);
}
.bt-menu ul:nth-of-type(2) li:last-child {
    -webkit-transform: translate3d(100%,0,0);
    transform: translate3d(100%,0,0);
}

.bt-menu.bt-menu-open ul:first-of-type li,
.bt-menu.bt-menu-open ul:nth-of-type(2) li {
	visibility: visible;
	opacity: 1;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s 0.1s;
	transition: transform 0.3s, opacity 0.3s;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.bt-menu ul li a {
    padding: 15px;
	display: block;
	outline: none;
	color: transparent;
	text-align: center;
	text-decoration: none;
	font-size: 0px;
}

.bt-menu ul li a:before {
	color: #fff;
	font-size: 30px;
	opacity: 0.5;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

.bt-menu ul li a:hover:before,
.bt-menu ul li a:focus:before  {
	opacity: 1;
}

@media screen and (max-height: 31.125em) {
	.bt-menu ul li a:before {
		font-size: 24px;
	}

	.bt-menu ul:first-of-type li {
		height: 60px;
		line-height: 60px;
	}

	.bt-menu ul:nth-of-type(2) li {
		width: 60px;
	}
}